-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use default assignee only if category is not specified or it doesn't have a default assignee itself #33
Conversation
…have a default assignee itself
Thanks for doing this work :) |
-%> | ||
<%= hidden_field_tag('settings[self_assignment]', false) %> | ||
<%= check_box_tag('settings[self_assignment]', true, self_assignment) %> | ||
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering why the indentation has changed here? Looks like it might have gained a space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that 2 spaces indentation is a ruby best practice
https://github.com/bbatsov/ruby-style-guide#source-code-layout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, was there only 1 previously? If so, could you re-indent the whole file a separate commit, so that the code changes don't get lost in the whitespace change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no I'm sorry I'm hurry
OK, I've tested this, and I'm quite confused: for me, in non-interactive mode, the category assignee is set before Can you explain what the desired behaviour is in interactive mode? |
sorry reset all |
#30
use default assignee only if category is not specified or it doesn't have a default assignee itself